package ee.android.kinokavad.data;

public class Cinema {

	private String name;

	private String city;
	
	private long id;
	
	private long netId;
	
	private boolean selected;
	
	private String phone;
	private String email;
	private String address;
	private double lat;
	private double lon;
	private String info;
	private int icon;
	private String homePage;
	
	public Cinema(long id, long netId, String name, String city){
		this.name = name;
		this.city = city;
		this.id = id;
		this.netId = netId;
	}
	
	public void setNetId(long netId) {
		this.netId = netId;
	}

	/**
	 * Construcor for database
	 * @param id
	 * @param netId
	 * @param name
	 * @param city
	 * @param selected
	 * @param phone
	 * @param email
	 * @param address
	 * @param lat
	 * @param lon
	 * @param info
	 * @param homePage
	 */
	
	public Cinema(long id, long netId, String name, String city,
			boolean selected, String phone, String email, String address,
			double lat, double lon, String info, String homePage) {
		super();
		this.id = id;
		this.netId = netId;
		this.name = name;
		this.city = city;
		this.selected = selected;
		this.phone = phone;
		this.email = email;
		this.address = address;
		this.lat = lat;
		this.lon = lon;
		this.info = info;
		this.homePage = homePage;
	}



	public String getName() {
		return name;
	}

	public String getCity() {
		return city;
	}

	public boolean isSelected() {
		return selected;
	}

	public void setSelected(boolean chosen) {
		this.selected = chosen;
	}

	public long getNetId() {
		return netId;
	}

	public String toShortString() {
		return "Cinema [Name=" + name + ", City=" + city + ", id=" + id
				+ ", netId=" + netId + ", selected=" + selected + "]";
	}
	
	

	@Override
	public String toString() {
		return "Cinema [name=" + name + ", city=" + city + ", id=" + id
				+ ", netId=" + netId + ", selected=" + selected + ", phone="
				+ phone + ", email=" + email + ", address=" + address
				+ ", lat=" + lat + ", lon=" + lon + ", info=" + info + "]";
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public int getIcon() {
		return icon;
	}

	public void setIcon(int icon) {
		this.icon = icon;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public double getLon() {
		return lon;
	}

	public void setLon(double lon) {
		this.lon = lon;
	}

	public String getHomePage() {
		return homePage;
	}

	public void setHomePage(String homePage) {
		this.homePage = homePage;
	}
	
}
